Page({
  data: {
    orderDetailsList: [
      //{ id: '1', orderDetailsListName: '本单金额', orderDetailsListValue:'￥400.00'},
      { id: '2', orderDetailsListName: '订单号', orderDetailsListValue: '订单号：CY2018091567319' },
      { id: '3', orderDetailsListName: '品牌名', orderDetailsListValue: '匡威Converse' },
      { id: '4', orderDetailsListName: '维修类别', orderDetailsListValue: '照明安装' },
      { id: '5', orderDetailsListName: '安装/维修数量', orderDetailsListValue: '10' },
      { id: '6', orderDetailsListName: '施工日期', orderDetailsListValue: '2018-3-18(晚上22:00)' },
      { id: '7', orderDetailsListName: '施工地址', orderDetailsListValue: '北京市朝阳区酒仙桥路39号久隆百货一层J01C-50' },
      //{ id: '8', orderDetailsListName: '需要', orderDetailsListValue: '保险/电工证/紧急' },
      //{ id: '9', orderDetailsListName: '施工备注', orderDetailsListValue: 'Ant Design是一个服务于企业级产品的设计体系，基于『确定』和『自然』的设计价值观和模块化的解决方案。让设计者专注于更好的用户体验。' }
    ],
    referenceImagesFromClient: [
      { id: '1', src: '../../images/reference_images_from_client_01.png' },
      { id: '2', src: '../../images/reference_images_from_client_02.png' },
      { id: '3', src: '../../images/reference_images_from_client_03.png' },
      { id: '4', src: '../../images/reference_images_from_client_04.png' },
      { id: '5', src: '../../images/reference_images_from_client_05.png' }
    ],
    documentsForConstruction: [
      { id: '1', name: '项目施工图.pdf', icon_src: '../../images/pdf-icon.png', open_file_src: '../../images/arrow_right.png', file_path: '../files/项目施工图.pdf' },
      { id: '2', name: '布局说明.docx', icon_src: '../../images/word-icon.png', open_file_src: '../../images/arrow_right.png', file_path: '../files/布局说明.docx' },
      { id: '3', name: '灯具清单.xlsx', icon_src: '../../images/excel-icon.png', open_file_src: '../../images/arrow_right.png', file_path: '../files/灯具清单.xlsx' }
    ],
    hiddenModalInput: true
  },
  modalinput: function(){
    this.setData({
      hiddenmodalput: !this.data.hiddenmodalput
    })
  },
  cancel: function(){
    this.setData({
      hiddenmodalput:true
    })
  },
  confirm: function () {
    this.setData({
      hiddenmodalput: true
    })
  },
})